package com.thb.pay.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.thb.pay.db.entity.SuperEntity;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户与角色对应关系表
 * </p>
 *
 * @author lucky
 * @since 2019-07-21
 */
@Data
@Accessors(chain = true)
@TableName("sys_user_role")
public class SysUserRole extends SuperEntity<SysUserRole> {

    public static final String TABLE_NAME = "sys_user_role";
    private static final long serialVersionUID = 1L;
    /**
     * 用户ID
     */
    private Long userId;

    /**
     * 角色ID
     */
    private Long roleId;

}
